package cn.yitun.chat.yitunservercommonlib.enums.userChat;

/**
 * 用户最近聊天类型
 */
public enum UserChatTypeEnums {

    // 套餐消费
    TYPE_USER("1", "联系人"),
    // 群
    TYPE_GROUP("2", "群"),
    // 讨论组
    TYPE_TEAM("3", "讨论组"),
    // 聊天室
    TYPE_ROOM("4", "聊天室"),

    CHAT_DIRECTION_BEFORE("before", "往前翻，历史记录"),

    CHAT_DIRECTION_AFTER("after", "往后翻，新记录"),

    ;
    private String type;
    private String name;


    UserChatTypeEnums() {
    }

    UserChatTypeEnums(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
